package org.spring.context.support;

import org.spring.beans.factory.support.DefaultBeanFactory;
import org.spring.core.io.FileSystemResource;
import org.spring.core.io.Resource;

import java.io.IOException;

public class FileSystemApplicationContext extends AbstractApplicationContext {

    private DefaultBeanFactory beanFactory;

    public FileSystemApplicationContext(String configFile) throws IOException {
        super(configFile);
    }

    @Override
    public Resource getResourcePath(String path) {
        return new FileSystemResource(path);
    }
}
